package com.ylb.rent.entity;

import java.util.List;

import lombok.*;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 公寓对象 apartment
 * 
 * @author ylb
 * @date 2023-06-29
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ToString
public class Apartment
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 公寓名 */

    private String apartmentName;

    /** 地址 */

    private String address;

    /** 详细描述 */

    private String description;

    /** 取消策略 */

    private Long cancelId;

    /** $column.columnComment */

    private Integer isDelete;



    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setApartmentName(String apartmentName) 
    {
        this.apartmentName = apartmentName;
    }

    public String getApartmentName() 
    {
        return apartmentName;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setCancelId(Long cancelId) 
    {
        this.cancelId = cancelId;
    }

    public Long getCancelId() 
    {
        return cancelId;
    }
    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("apartmentName", getApartmentName())
            .append("address", getAddress())
            .append("description", getDescription())
            .append("cancelId", getCancelId())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
